﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="CharLesson.aspx.cs" Inherits="Train_CharLesson" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
 <InfoLight:WebDataSource ID="Master" runat="server" AutoApply="True" WebDataSetID="WMaster" DataMember="View_CharLesson">
        </InfoLight:WebDataSource>
        
         <InfoLight:WebNavigator ID="WebNavigator1" runat="server"
            BindingObject="wgvMaster"
            Height="22px" QueryMode="ClientQuery" StatusStrip="WebStatusStrip1" 
        Width="100%" CssClass="NavigatorBar">
            <NavStates>
                <InfoLight:WebNavigatorStateItem StateText="Initial" />
                <InfoLight:WebNavigatorStateItem StateText="Browsed" />
                <InfoLight:WebNavigatorStateItem StateText="Inserting" />
                <InfoLight:WebNavigatorStateItem StateText="Editing" />
                <InfoLight:WebNavigatorStateItem StateText="Applying" />
                <InfoLight:WebNavigatorStateItem StateText="Changing" />
                <InfoLight:WebNavigatorStateItem StateText="Querying" />
                <InfoLight:WebNavigatorStateItem StateText="Printing" />
            </NavStates>
            <NavControls>
                <InfoLight:ControlItem ControlName="First" ControlText="掸" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/first_C.gif" MouseOverImageUrl="../image/uipics/first2_C.gif"
                    Size="25" />
                <InfoLight:ControlItem ControlName="Previous" ControlText="掸" ControlType="Image"
                    ControlVisible="False" ImageUrl="../image/uipics/previous_C.gif" MouseOverImageUrl="../image/uipics/previous2_C.gif"
                    Size="25" />
                <InfoLight:ControlItem ControlName="Next" ControlText="掸" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/next_C.gif" MouseOverImageUrl="../image/uipics/next2_C.gif"
                    Size="25" />
                <InfoLight:ControlItem ControlName="Last" ControlText="ソ掸" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/last_C.gif" MouseOverImageUrl="../image/uipics/last2_C.gif"
                    Size="25" />
                <InfoLight:ControlItem ControlName="Add" ControlText="穝糤" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/add_C.gif" MouseOverImageUrl="../image/uipics/add2_C.gif"
                    Size="25" />
                <InfoLight:ControlItem ControlName="Apply" ControlText="郎" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/apply_C.gif" MouseOverImageUrl="../image/uipics/apply2_C.gif"
                    Size="25" />
                <InfoLight:ControlItem ControlName="Abort" ControlText="斌" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/abort_C.gif" MouseOverImageUrl="../image/uipics/abort2_C.gif"
                    Size="25" />
                <InfoLight:ControlItem ControlName="Query" ControlText="琩高" ControlType="Image" ControlVisible="True"
                    ImageUrl="../image/uipics/query_C.gif" MouseOverImageUrl="../image/uipics/query2_C.gif"
                    Size="48"  disenableimageurl="../Image/UIPics/query3_C.gif"/>
                <InfoLight:ControlItem ControlName="Print" ControlText="ゴ" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/print_C.gif" MouseOverImageUrl="../image/uipics/print2_C.gif"
                    Size="25" />
            </NavControls>
            <QueryFields>
                <InfoLight:WebQueryField Caption="课题编号" Condition="=" DefaultValue="" FieldName="lessonId"
                    Mode="" />
                <InfoLight:WebQueryField Caption="课题名称" Condition="%%" DefaultValue="" FieldName="lessonname"
                    Mode="" />
            </QueryFields>
        </InfoLight:WebNavigator>
        
        
           <InfoLight:webgridview id="wgvMaster" runat="server"
            cellpadding="5" datasourceid="Master" forecolor="#333333" width="100%" 
        AbortIconUrl="../Image/UIPics/Abort.gif" AddIconUrl="../Image/UIPics/Add.gif" 
        ApplyIconUrl="../Image/UIPics/Apply.gif" 
        CancelIconUrl="../Image/UIPics/Cancel.gif" 
        MouseOverAbortIconUrl="../Image/UIPics/Abort2.gif" 
        MouseOverAddIconUrl="../Image/UIPics/Add2.gif" 
        MouseOverApplyIconUrl="../Image/UIPics/Apply2.gif" 
        MouseOverCancelIconUrl="../Image/UIPics/Cancel2.gif" 
        MouseOverOKIconUrl="../Image/UIPics/OK2.gif" 
        MouseOverQueryIconUrl="../Image/UIPics/Query2.gif" 
        OKIconUrl="../Image/UIPics/OK.gif" QueryIconUrl="../Image/UIPics/Query.gif" 
        HeaderStyleWrap="False" BackColor="White" BorderColor="White" 
        BorderStyle="Groove" BorderWidth="2px" TotalActive="True" 
        CreateInnerNavigator="False" TotalCaption="总计:">
            <PagerSettings Mode="NumericFirstLast" />
<FooterStyle ForeColor="Red" Font-Bold="True"></FooterStyle>
            <navcontrols>
<InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/add2.gif" ControlText="add" ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/ok2.gif" ControlText="Insert" ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/cancel2.gif" ControlText="cancel" ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif"></InfoLight:ControlItem>
</navcontrols>
            <Columns>
                <asp:TemplateField>
                    <itemtemplate>
                    <center>
                    <img alt="查看明细" style="cursor:pointer;" onclick="javascript:window.open('CharLessDetail.aspx?lessid=<%#Eval("lessonId") %>','','top=200,left=200,height=600,width=500,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes')" src="../Image/UIPics/(10,07).png" /></center>
                    
</itemtemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="lessonId" HeaderText="课题编号" SortExpression="lessonId" />
                <asp:BoundField DataField="lessonname" HeaderText="课题名称" SortExpression="lessonname" />
                <asp:BoundField DataField="mey" HeaderText="费用金额" SortExpression="mey" />
</Columns>

<RowStyle BackColor="#EFF3FB"></RowStyle>

<EditRowStyle BackColor="#2461BF"></EditRowStyle>

<SelectedRowStyle BackColor="#D1DDF1" ForeColor="#333333" Font-Bold="True"></SelectedRowStyle>

<PagerStyle BackColor="LightBlue" ForeColor="White" HorizontalAlign="Center"></PagerStyle>

<HeaderStyle BackColor="DeepSkyBlue" ForeColor="White" Font-Bold="True"></HeaderStyle>

<AlternatingRowStyle BackColor="White" BorderColor="White"></AlternatingRowStyle>
            <TotalColumns>
                <InfoLight:GridViewTotalItem FieldName="mey" />
            </TotalColumns>
</InfoLight:webgridview>
</asp:Content>

